<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        #canvas{
            background: lightcyan;
            margin: 30px auto;
        }
    </style>
</head>
<body>
    <canvas id="canvas" width="600" height="600">
        不支持canvas
    </canvas>
    <script src="./index.js">

    </script>
</body>
</html>